<?

class Qi_Db_Def
{
	public static function criar_tabela($tabela)
	{
		return new Qi_Db_Def_CriarTabela($tabela);
	}
	
	public static function key_name($tabela)
	{
		return Qi_Db::query("SHOW KEYS FROM $tabela WHERE key_name = 'PRIMARY'")->valor("Column_name");
	}
}

?>